#set($layout = "/layout/no.html")  
#parse("/common/common.html")
##grid
<div class="page-content">
<div class="page-content-area">
		<div class="row">
		<form id="mainForm" action="#" class="form-horizontal">
			<input name="workId" type="hidden" value="$!{params.workId}" />
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="workName"><span class="form-require">*</span>工作名称</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="workName" name="workName"  value="$!params.workName"  readonly="readonly" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="workType"><span class="form-require">*</span>工作类型</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="workType" name="workType" readonly="disable">
					    #select($dicts.workType $!{params.workType})
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="workStatus"><span class="form-require">*</span>工作状态</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="workStatus" name="workStatus"  readonly="readonly" >
					    #select($dicts.useStatus $dicts.useStatus)
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="workStartTime"><span class="form-require">*</span>启用范围</label>
					<div  class="col-xs-5 col-sm-4" >
						<input class="form-control required date" type="text" id="workStartTime" name="workStartTime"  value="$!date.format('yyyy-MM-dd hh:mm:ss',$!params.workStartTime)" readonly="readonly"/>
					</div>
				    <div  class="col-xs-5 col-sm-4" >
						<input class="form-control required date" type="text" id="workEndTime" name="workEndTime" value="$!date.format('yyyy-MM-dd hh:mm:ss',$!params.workEndTime)" readonly="readonly"/>
					</div>
				</div>
			</div>
			
			
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="indexSort"><span class="form-require">*</span>排序值</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required number" type="text" id="indexSort" name="indexSort"  value="$!{params.indexSort}"  readonly="readonly"/>
					</div>
				</div>
			</div>
			
			<div class="col-md-12">
				<div class="form-group">
					<label class="col-md-2  control-label no-padding-right" for="workContent"><span class="form-require">*</span>内容</label>
					<div  class="col-md-10 EditorToolBar">
				<!-- 		<script class="required" id="workContent" name="workContent" type="text/plain"  readonly="readonly"  style="height:500px;">$!{params.workContent}</script>-->
					  $!{params.workContent} 
					</div>
				</div>
			</div>
		</form>
		</div>
	</div>
</div>
		
<script src="${contextPath}/js/system/work/detail.js"></script>